import DataEmpty from '@/components/common/DataEmpty.vue'
import PageScroll from '@/components/common/PageScroll.vue' // 后缀名要补全，不然ts编译会报错
import ColumLayout from '@/components/common/ColumLayout.vue'
import EchartHandler from '@/components/common/EchartHandler.vue'
import Sidebar from '@/components/layout/Sidebar/index.vue'
import TableSearchLayout from '@/components/layout/FrameLayout/TableSearchLayout.vue'


export default {
  install: (app) => {
    /* 定义全局组件 */
    app.component('PageScroll', PageScroll)
    app.component('DataEmpty', DataEmpty)
    app.component('ColumLayout', ColumLayout)
    app.component('Sidebar', Sidebar)
    app.component('TableSearchLayout', TableSearchLayout)
    app.component('EchartHandler', EchartHandler)
  }
}